package com.zp95sky.demo.aidemo.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(name = "ProcessTextAsyncDto", title = "文本处理请求参数")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProcessTextAsyncDto {

    @Schema(title = "段落信息", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ParagraphInfoDto> ps;

    @Schema(title = "处理结果回调地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String callbackUrl;

}